package j.quartz.ui;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@EnableAutoConfiguration(exclude= {/*DataSourceAutoConfiguration.class,
								   HibernateJpaAutoConfiguration.class,
								   SecurityAutoConfiguration.class,*/
								   JpaRepositoriesAutoConfiguration.class //禁止springboot自动加载持久化bean  
								   })

@ComponentScan(value= {"j.quartz"})
@ImportResource(value={"classpath:spring_conf/application-context.xml"})
public class JqUIApplication  {
	private static final Logger LOGGER = LoggerFactory.getLogger(JqUIApplication.class) ;
	
	public static void main(String[] args) {
		SpringApplication.run(JqUIApplication.class, args);
		LOGGER.info("--Ffad-admin-- 启动完成");
	}
	
}
